How to Comment in VS Code
There's one other way to comment and un-comment, but it's not as handy. · Windows: Ctrl + K + U · Mac: Command + K + U.
Keyboard shortcuts
2023年6月19日 — Edit: popular shortcuts ; Comment selection, Ctrl+K, Ctrl+C [Text Editor], Edit.CommentSelection ; Complete word, Alt+Right Arrow [Text Editor, ...
Visual Studio ** comment shortcut?
2015年9月6日 — To comment a block of code (more than one line) in VS select code with ALT (alt+mouse or alt+shift+arrows), and then comment with Ctrl+K Ctrl+C.
Visual Studio 2017 keyboard shortcuts
Alt+Enter or. Ctrl+Period. IntelliSense Code Completion. Ctrl+Space. Parameter Info / Signature Help. Ctrl+Shift+Space. Method Info. Ctrl+K, Ctrl+I. Comment.
Visual Studio Comment Shortcuts
2019年8月23日 — The most basic shortcut for creating a comment is Ctrl+K, Ctrl+C. This, of course, is the default shortcut for Edit.CommentSelection, which can ...